#ifndef _GLOBAL_H_
#define _GLOBAL_H_

#define TRUE 1
#define FALSE 0
#define NULL 0
#define BIT1 0x01
#define BIT2 0X02
#define BIT3 0x04
#define BIT4 0x08
#define BIT5 0x10
#define BIT6 0x20
#define BIT7 0x40
#define BIT8 0x80

typedef char c8;
typedef unsigned char uc8;
typedef short s16;
typedef unsigned short us16;
typedef int i32;
typedef unsigned int ui32;
typedef float f32;
typedef long l32;
typedef unsigned long ul32;
typedef double d64;
typedef long double ld96;

#define DBG_MODE_NORMAL FALSE
#define DBG_MODE_MEM TRUE

#define DBG_PUT_INT(xx,yy,zz) {if(xx==TRUE)printf(yy,(zz));}
#define DBG_PUT_FLOAT(xx,yy,zz) {if(xx==TRUE)printf(yy,(zz));}
#define DBG_PUT_STRING(xx,yy,zz) {if(xx==TRUE)printf(yy,(zz));}

#endif
